package com.jic.data.model.entity;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@ApiModel(description = " member_points_record ")
public class MemberPointsRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "会员id")
    private Long memberId;

    @ApiModelProperty(notes = "会员积分")
    private Integer points;

    @ApiModelProperty(notes = "积分状态,0:增加；1：减少")
    private Integer pointsStatus;

    @ApiModelProperty(notes = "积分类型,0:获得积分，1：使用积分，2：过期积分")
    private Integer pointsType;

    @ApiModelProperty(notes = "积分日期")
    private Date pointsDate;

    @ApiModelProperty(notes = "更新人")
    private Long updator;

}
